import { network } from '@/utils';
import { LogisParams, DetailParams } from './data';

import { logisCenter } from '../../../../../config/Apis';

export async function queryCheckUser() {
  return network.get(logisCenter.auth_user);
}

export async function queryLogisList(params: LogisParams) {
  return network.get(logisCenter.basic_logis_list, { params });
}

export async function queryOtherLogisList() {
  return network.get(logisCenter.ocr_logisList);
}

export async function queryLogisDetail(params: DetailParams) {
  return network.get(logisCenter.ocr_count, { params });
}

export default {};
